using System;
using Microsoft.Office.Interop.InfoPath.SemiTrust;

namespace InfoJetSoft.Service.ManagedCode
{
	/// <summary>
	/// Summary description for MergeEvent.
	/// </summary>
	public class MergeEvent : Microsoft.Office.Interop.InfoPath.SemiTrust.MergeEvent 
	{
		private Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument xDocument;
		private bool returnStatus;
		private bool rollBack;
		private int index;
		private int count;
		private Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMDocument dom;

		public MergeEvent( Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument xDoc, Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMDocument d )
		{
			this.xDocument = xDoc;
			this.dom = d;
		}

		public Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument XDocument 
		{ 
			get
			{
				return this.xDocument;
			}
		}

		public bool ReturnStatus 
		{ 
			get
			{
				return this.returnStatus;
			}

			set
			{
				this.returnStatus = value;
			}
		}

		public bool RollBack 
		{ 
			get
			{
				return this.rollBack;
			}

			set
			{
				this.rollBack = value;
			}
		}

		public int Index 
		{ 
			get
			{
				return this.index;
			}

			set
			{
				this.index = value;
			}
		}

		public int Count 
		{ 
			get
			{
				return this.count;
			}

			set
			{
				this.count = value;
			}
		}

		public Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMDocument DOM 
		{ 
			get
			{
				return this.dom;
			}
		}

	}
}
